configuration /
notification /
events /
[EVENT-ID]
CLI REST-API
set-all
set-all [status]
The "set-all" command allows to enable/disable all notification methods for the
event.
Example: "set-all no" will disable all notification methods for the event.
RESTAPI: The data can be passed in the body like this:
{
"parameters": {
"status": true
}
}
Name | Value | Description | Example |
---|
| status | | |
See also:
/configuration/notification/events/[EVENT-ID]
REST-API Support:
This command is supported by the REST API:
Method: PUT
URL: /api/configuration/notification/events/.*/set-all
Body:
{
"parameters": {
"status": [status]
}
}
Example using curl:
curl -X PUT /api/configuration/notification/events/.*/set-all -d
"{
\"parameters\": {
\"status\": true
}
}"